package com.demo.common.controller.testinterceptor;

import com.demo.interceptor.ActionInterceptor;
import com.demo.interceptor.ControllerInterceptor;
import com.jfinal.aop.Before;
import com.jfinal.aop.ClearInterceptor;
import com.jfinal.aop.ClearLayer;
import com.jfinal.core.Controller;
/**
 * 拦截器具体测试类
 * @author xwalker
 *
 */
@Before(ControllerInterceptor.class)
@ClearInterceptor
public class InterceptorTestTwoController extends Controller{
	@Before(ActionInterceptor.class)
	public void actiontest(){
		renderText("调用InterceptorTestTwoController actiontest  清除全局");
	}
	@ClearInterceptor(ClearLayer.ALL)
	public void login(){
		
	}
	
}
